/*
 * @FileName: [BusinessOperateLogService.java] 
 * @Package com.bci.pwtz.service 
 * 
 * 
 * Copyright (c) 2011-2015 BCINFO Technology Limited Com.
 * All rights reserved.
 * 
 * This software is the confidential and proprietary 
 * information of BCINFO Technology Limited Company
 * ("Confidential Information"). You shall not disclose 
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement 
 * you entered into with RKY.
 * 
 * $Rev: 2086 $
 * $LastChangedDate$
 * $LastChangedBy: lengzq $
 * 
 * @category ICCARD
 * @version 1.1
 * @author $Author: lengzq $
 *
 * Change History:[Formatter: author date description] <br/>
 * 1
 * 2
 * 3
*/


package com.bci.pwtz.service;

import com.bci.pwtz.common.util.PaginationList;
import com.bci.pwtz.exception.PwtzDatabaseException;
import com.bci.pwtz.mysql.model.BusinessOperateLog;

/**
 * 一句话描述 <br/>
 * <p>Description:<br/>
 *    <p>TODO 详细描述
 *
 * <p>For Examples <br/>
 * <PRE>
 *      TODO 代码使用示例
 * </PRE>
 * <p>
 */
public interface BusinessOperateLogService
{

    /**
     * 一句话描述 <br/>
     * <p>Description: TODO(详细描述) 
     * <br/>
     * <p>Author: tonic<br/>
     * <p>Date: 2014-9-25-上午10:28:21<br/>
     * <p>
     * @param businessOperateLog
     * @return
     * @throws PwtzDatabaseException   
     * 
     */
    int add(BusinessOperateLog businessOperateLog) throws PwtzDatabaseException;

    /**
     * 一句话描述 <br/>
     * <p>Description: TODO(详细描述) 
     * <br/>
     * <p>Author: tonic<br/>
     * <p>Date: 2014-10-11-上午10:36:02<br/>
     * <p>
     * @param operationType
     * @param deviceType
     * @param companyId
     * @param parentId
     * @param beginTime
     * @param endTime
     * @param pageSize
     * @param pageNo
     * @return
     * @throws PwtzDatabaseException   
     * 
     */
    PaginationList<BusinessOperateLog> findLogs(int operationType, int deviceType,Long companyId, String beginTime, String endTime, Long userid, String userName,int pageSize, int pageNo) throws PwtzDatabaseException;

}
